body{
	background-color: #f3f5f7;
}
header{
	width: 1300px;
	height: 100px;
	margin: 0 auto;
	/*background-color: pink;*/
	padding-top: 30px;
}
.logo{
	width: 195px;
	height: 42px;
	float: left;
}
.logo a{
	display: block;
	width: 195px;
	height: 42px;
	/*background-color: purple;*/
	background: url(../images/logo.png) no-repeat;
    text-indent: -999px;
    /* //隐藏链接里的文字 */
	overflow: hidden;
}
nav{
	float: left;
	margin-left: 20px;
}
nav li{
	float: left;
	height: 40px;
	line-height: 40px;
	margin-left: 25px;
}
nav li a{
	/* //a标签属于行内元素给宽高没有用,所以要用到display:block转为块级元素 */
	display: block;
	height: 40px;
	font-size: 18px;
	padding: 0 10px;
	
}
nav li a:hover{
	border-bottom: 2px solid #00a4ff;
}

.search{
	width: 410px;
	height: 40px;
	background: purple;
	float: left;
	margin-left: 160px;
}
.search input{
	width: 361px;
	height: 40px;
	border: 1px solid #00a4ff;
    outline: none; 
    /* 轮廓线 */
	float: left;
	padding-left: 10px;
	
}
.search button{
	width: 49px;
	height: 40px;
	float: right;
	background: url(../images/fa-search.png) no-repeat;
    border: 0px;
    /* //去掉边框,边框也算宽度 */
	outline: none;
}
.personal{
	float: right;
	height: 40px;
	line-height: 40px;
	
}
.personal dt, .personal dd{
	float: left;
	margin-left: 20px;
}
.personal s{
	position: relative;
	margin-right: 20px;
}
.personal s::before{
	/*给标签弄个红点*/
	/*before默认为行级元素所以要用block*/
	display: block;
	content: "";
	width: 4px;
	height: 4px;
	background: red;
	border-radius: 5px;
	position: absolute;
	left: 10px;
	top: 0;
}
.personal span img{
	border-radius: 50%;
	margin-right: 5px;
	transition: all 0.6s;
}
.personal span img:hover{
	transform: rotate(180deg);
}

/*banner*/
.banner{
	height: 420px;
	background: darkblue;
	
	
}
.inner{
	height: 420px;
	position: relative;
	
}
.subnav{
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 190px;
	background: rgba(0,0,0,.3);
	padding-top: 20px;
	
}
.subnav li{
	padding-left: 20px;
	position: relative;
	margin-top: 20px;
}
.subnav a{
	font-size: 14px;
	color: white;
	
}
.subnav a:hover{
	color: #00b4ff;
}
.subnav span{
	position: absolute;
	right: 20px;
	top: 0;
}

.circle{
	position: absolute;
	width: 176px;
	height: 20px;
	/*background-color: white;*/
	bottom: 15px;
	left: 50%;
	/*margin-left: -88px;*/
	transform: translate(-50%);
	
}
.circle i{
	display: inline-block;
	width: 13px;
	height: 13px;
	background:rgba(255,255,255,0.4);
	margin:0 5px;
	border-radius: 10px;
    cursor: pointer;
    /* //光标手指 */
    transition:all 0.5s;
    /* //所有属性的过渡动画 */
}
.circle i:hover{
	width: 20px;
	background: white;
	
}
.timebook{
	width:228px ;
	height: 300px;
	position: absolute;
	right: 0;
	top: 50%;
    transform: translate(0,-50%);
    /* //移动自己本身的百分50而不是根据父元素而移动50% */
	background: red;
}
.timebook li{
	/*padding-left: 20px;*/
	/*margin-top: 10px;*/
	background: white;
	width: 228px;
	height: 60px;
	position: relative;
}
.timebook .keep a{
	position: absolute;
	width: 200px;
	padding-left: 20px;
	top: 15px;
	font-size: 15px;
}
.timebook .keep p{
	color: gray;
	font-size: 12px;
}
a:hover{
	color: #004aff;
}
.timebook .my a{
	font-size: 20px;
	position: absolute;
	width: 228px;
	height: 60px;
	line-height: 60px;
	text-align: center;
	background: #00BCD4;
	color: white;
}
.timebook .all a{
	font-size: 20px;
	position: absolute;
	top: 15px;
	left: 15px;
	width: 200px;
	text-align: center;
	border: 1px solid #004aff;
	color: #004aff;
}

/*recomend*/
.recommend{
	height: 50px;
	line-height: 50px;
	margin-top: 10px;
	position: relative;
	box-shadow: 0px 2px 12px rgba(0, 0, 0, .4);
}
.recommend:hover{
	transform: 0;
}
.rec-l{
	padding-left: 30px;
}
.rec-l a{
	margin: 0 15px;
	font-size: 16px;
}
.rec-l strong{
	padding-right: 15px;
	color: #004aff;
	font-size: 16px;
}
.recommend em{
	position: absolute;
	right: 20px;
	top: 0;
	font-size: 16px;
}

.products{
	margin-top: 30px;
	position: relative;
}
.pro-header{
	height: 40px;
}
.pro-header a{
	position: absolute;
	top:0;
	right: 20px;
}
.pro-header h4{
	font-weight: normal;
	font-size: 18px;
}

.pro-content li{
	width: 228px;
	height: 270px;
	overflow: hidden;
	background: #fff;
	float: left;
	margin-right: 15px;
	margin-bottom: 15px;
	transition: all 0.4s;
}
.pro-content li:nth-child(5n){
	margin-right: 0;
}
.pro-content li:hover{
	box-shadow: 0px 2px 12px rgba(0,0,0,0.4);
	margin-top: -5px;
}

.pro-title{
	width: 185px;
	margin: 20px auto;
	font-size: 14px;
	color: black;
	
}
.pro-content p{
	width: 185px;
	margin: 20px auto ;
	color: #999999;
}

.pro-content p span{
	color:#ff7c2d ;
}
.pic img{
	transition: all 0.4s;
}
.pic img:hover{
	margin-left: -5px;
}

/*底部*/
footer{
	/*background: pink;*/
	height: 300px;
	padding-top: 30px;
	margin-top: 30px;
	
}
.footer-l{
	margin-left: 20px;
	float: left;
}
.footer-l p{
	margin:25px 0px 15px 0px;
	line-height: 25px;
}
.footer-l a{
	width: 120px;
	height: 35px;
	display: block;
	border: 1px solid #004AFF;
	text-align: center;
	line-height: 35px;
	color: #004AFF;
}

.footer-r{
	float: right;
}
.footer-r dl{
	float: left;
	margin-left: 130px;
}
.footer-r dl dt {
	font-size: 14px;
	color: #333;
	height: 30px;
}
.footer-r dd {
	height: 20px;
}